package com.itheima.homework.student_manager;

public class Test {
    public static void main(String[] args) {
        // 新建班级
        Classroom room1 = Classroom.getInstance();

        // 新建学生
        Student student1 = new Student("小明", 1, 12);
        Student student2 = new Student("小红", 2, 12);
        Student student3 = new Student("小克", 3, 12);

        room1.addStudent(student1);
        room1.addStudent(student2);
        room1.addStudent(student3);

        room1.showStudents();
    }
}
